home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / gnustuff / tos / updates / update27.zoo / gcc-233 / GMakefile.st.hpgcc < prev    next >
Encoding:
Text File  |  1992-12-28  |  16.8 KB  |  450 lines

  1. # Makefile for GNU C++ NATIVE COMPILER for the atariST/TT series hosted
  2. #  on a HPUX host (tested only on a HP Snake running hpux 8.x)
  3. #  NOTE: requires alloca.c from the emacs dist.
  4. #
  5.  
  6. # Makefile for GNU C compiler.
  7. #   Copyright (C) 1987 Free Software Foundation, Inc.
  8.  
  9. #This file is part of GNU CC.
  10.  
  11. #GNU CC is distributed in the hope that it will be useful,
  12. #but WITHOUT ANY WARRANTY.  No author or distributor
  13. #accepts responsibility to anyone for the consequences of using it
  14. #or for whether it serves any particular purpose or works at all,
  15. #unless he says so in writing.  Refer to the GNU CC General Public
  16. #License for full details.
  17.  
  18. #Everyone is granted permission to copy, modify and redistribute
  19. #GNU CC, but only under the conditions described in the
  20. #GNU CC General Public License.   A copy of this license is
  21. #supposed to have been given to you along with GNU CC so you
  22. #can know your rights and responsibilities.  It should be in a
  23. #file named COPYING.  Among other things, the copyright notice
  24. #and this notice must be preserved on all copies.
  25.  
  26. .NOEXPORT: # This tells GNU Make version 3
  27.        # not to put all the variables in the environment.
  28.  
  29.  
  30. CROSSDIR = /net/acae127/home/bammi/atari.hp-ux/cross-gcc
  31. CROSSBIN = $(CROSSDIR)/bin
  32. CROSSLIB = $(CROSSDIR)/lib
  33. CROSSINC = $(CROSSDIR)/include
  34.  
  35. DFLAGS= -DCROSSDIR=\"\"
  36. CFLAGS = $(DFLAGS) -O -I$(CROSSINC) -I./config -I. -Datarist=1
  37. # LDFLAGS =
  38. HOSTCFLAGS = $(DFLAGS) -O -DCROSSHPUX -I./config -I.
  39. HOSTLDFLAGS = 
  40. CC = /net/acae127/home/bammi/atari.hp-ux/cross-gcc/bin/cgcc
  41. # hosts cc
  42. HOSTCC=/util/gnu/bin/gcc 
  43. HOSTALLOCA = 
  44. #MALLOC1 = /net/acae127/home/bammi/lib.hp-ux/malloc_new6.o
  45. MALLOC1 = 
  46. # OLDCC should not be the GNU C compiler.
  47. OLDCC = cc
  48. BISON = bison
  49. BISONFLAGS=
  50. AR = ar
  51. SHELL = /bin/sh
  52.  
  53. bindir = 
  54. libdir = 
  55.  
  56. # These are what you would need on HPUX:
  57. # CFLAGS = -Wc,-Ns2000 -Wc,-Ne700
  58. # -g is desirable in CFLAGS, but a compiler bug in HPUX version 5
  59. # bites whenever tree.def, rtl.def or machmode.def is included
  60. # (ie., on every source file).
  61. # CCLIBFLAGS = -Wc,-Ns2000 -Wc,-Ne700
  62. # For CCLIBFLAGS you might want to specify the switch that
  63. # forces only 68000 instructions to be used.
  64.  
  65. # If you are making gcc for the first time, and if you are compiling it with
  66. # a non-gcc compiler, and if your system doesn't have a working alloca() in any
  67. # of the standard libraries (as is true for HP/UX or Genix),
  68. # then get alloca.c from GNU Emacs and un-comment the following line:
  69. # ALLOCA = alloca.o
  70.  
  71. # If your system has alloca() in /lib/libPW.a, un-comment the following line:
  72. # CLIB= -lPW
  73.   
  74. # If your system's malloc() routine fails for any reason (as it does on
  75. # certain versions of Genix), try getting the files
  76. # malloc.c and getpagesize.h from GNU Emacs and un-comment the following line:
  77. # MALLOC = malloc.o
  78.  
  79. # If you are running GCC on an Apollo, you will need this:
  80. # CFLAGS = -g -O -M 3000 -U__STDC__ -DSHORT_ENUM_BUG
  81.  
  82. # Change this to a null string if obstacks are installed in the
  83. # system library.
  84. OBSTACK=obstack.o
  85. OBSTACK1=obstack.oo
  86.  
  87. # Dependency on obstack, alloca, malloc or whatever library facilities
  88. # are not installed in the system libraries.
  89. LIBDEPS= $(OBSTACK)
  90. LIBDEPS1= $(OBSTACK1) $(HOSTALLOCA) $(MALLOC)
  91.  
  92. # How to link with both our special library facilities
  93. # and the system's installed libraries.
  94. LIBS = $(OBSTACK)
  95. LIBS1 = $(OBSTACK1) $(HOSTALLOCA) $(MALLOC) $(MALLOC1) $(CLIB)
  96.  
  97. DIR = ../gcc
  98.  
  99. # Object files of CC1.
  100.  
  101. # Language-specific object files for C++.
  102. CPLUS_OBJS = cp-parse.o cp-decl.o cp-decl2.o \
  103.    cp-typeck.o cp-type2.o cp-tree.o cp-ptree.o \
  104.    cp-cvt.o cp-search.o cp-lex.o cp-gc.o cp-call.o \
  105.    cp-class.o cp-init.o cp-method.o cp-except.o \
  106.    cp-expr.o cp-pt.o cp-edsel.o cp-xref.o \
  107.    $(CPLUS_INPUT) cp-spew.o c-common.o
  108.  
  109. # Language-independent object files.
  110. OBJS = toplev.o version.o tree.o print-tree.o stor-layout.o fold-const.o \
  111.  function.o stmt.o expr.o calls.o expmed.o explow.o optabs.o varasm.o \
  112.  rtl.o print-rtl.o rtlanal.o dbxout.o sdbout.o dwarfout.o emit-rtl.o \
  113.  integrate.o jump.o cse.o loop.o unroll.o flow.o stupid.o combine.o \
  114.  regclass.o local-alloc.o global.o reload.o reload1.o caller-save.o \
  115.  insn-peep.o reorg.o sched.o final.o recog.o reg-stack.o \
  116.  insn-recog.o insn-extract.o insn-output.o insn-emit.o \
  117.  insn-attrtab.o aux-output.o getpwd.o
  118.  
  119. GCC_PASSES=gcc cc1 cpp
  120.  
  121. # Files to be copied away after each stage in building.
  122. STAGESTUFF = *.o insn-flags.h insn-config.h insn-codes.h \
  123.  insn-output.c insn-recog.c insn-emit.c insn-extract.c insn-peep.c \
  124.  insn-attr.h insn-attrtab.c \
  125.  stamp-flags stamp-config stamp-codes \
  126.  stamp-output stamp-recog stamp-emit stamp-extract stamp-peep \
  127.  stamp-attr stamp-attrtab \
  128.  genemit genoutput genrecog genextract genflags gencodes genconfig genpeep \
  129.  genattrtab genattr \
  130.  $(GCC_PASSES) $(EXTRA_PARTS) gcc-cross cccp cc1plus cc1obj enquire \
  131.  protoize unprotoize specs collect2
  132.  
  133. # Header files that are made available to programs compiled with gcc.
  134. USER_H = stddef.h stdarg.h assert.h va-*.h limits.h
  135.  
  136. # If you want to recompile everything, just do rm *.o.
  137. # CONFIG_H = config.h tm.h
  138. CONFIG_H =
  139. RTL_H = rtl.h rtl.def machmode.h machmode.def
  140. TREE_H = tree.h real.h tree.def machmode.h machmode.def
  141. CPLUS_TREE_H = $(TREE_H) cp-tree.h cp-tree.def
  142.  
  143. ALL =  gcc-cc1plus.ttp
  144.  
  145. all : $(ALL)
  146.  
  147. gcc-cc1plus.ttp: $(CPLUS_OBJS) $(OBJS) $(LIBDEPS)
  148.     $(CC) $(CFLAGS) $(LDFLAGS) -o gcc-cc1plus.ttp $(CPLUS_OBJS) $(OBJS) $(LIBS)
  149. # C++ language specific files.
  150.  
  151. cp-parse.o : cp-parse.c $(CONFIG_H) $(CPLUS_TREE_H) flags.h
  152.     $(CC) -c $(CFLAGS) cp-parse.c
  153.  
  154. cp-parse.c cp-parse.h : cp-parse.y
  155.     @echo expect 30 shift/reduce conflicts and 14 reduce/reduce conflicts
  156.     $(BISON) $(BISONFLAGS) -d -o cp-parse.c cp-parse.y
  157.     grep '^#define[     ]*YYEMPTY' cp-parse.c >>cp-parse.h
  158.  
  159. cp-spew.o : cp-spew.c $(CONFIG_H) $(CPLUS_TREE_H) \
  160.    cp-parse.h flags.h
  161. cp-lex.o : cp-lex.c $(CONFIG_H) $(CPLUS_TREE_H) \
  162.    cp-parse.h cp-input.c flags.h
  163. cp-decl.o : cp-decl.c $(CONFIG_H) $(CPLUS_TREE_H) flags.h \
  164.   cp-lex.h cp-decl.h stack.h
  165. cp-decl2.o : cp-decl2.c $(CONFIG_H) $(CPLUS_TREE_H) flags.h \
  166.   cp-lex.h cp-decl.h
  167. cp-type2.o : cp-type2.c $(CONFIG_H) $(CPLUS_TREE_H) flags.h
  168. cp-typeck.o : cp-typeck.c $(CONFIG_H) $(CPLUS_TREE_H) flags.h
  169. cp-class.o : cp-class.c $(CONFIG_H) $(CPLUS_TREE_H) stack.h \
  170.     cp-class.h flags.h
  171. cp-call.o : cp-call.c $(CONFIG_H) $(CPLUS_TREE_H) stack.h cp-class.h \
  172.     flags.h
  173. cp-init.o : cp-init.c $(CONFIG_H) $(CPLUS_TREE_H) flags.h
  174. cp-method.o : cp-method.c $(CONFIG_H) $(CPLUS_TREE_H)
  175. cp-cvt.o : cp-cvt.c $(CONFIG_H) $(CPLUS_TREE_H)
  176. cp-search.o : cp-search.c $(CONFIG_H) $(CPLUS_TREE_H) stack.h flags.h
  177. cp-tree.o : cp-tree.c $(CONFIG_H) $(CPLUS_TREE_H) flags.h
  178. cp-ptree.o : cp-ptree.c $(CONFIG_H) $(CPLUS_TREE_H)
  179. cp-gc.o : cp-gc.c $(CONFIG_H) $(CPLUS_TREE_H) flags.h
  180. cp-except.o : cp-except.c $(CONFIG_H) $(CPLUS_TREE_H) flags.h
  181. cp-expr.o : cp-expr.c $(CONFIG_H) $(CPLUS_TREE_H) $(RTL_H) flags.h \
  182.   expr.h insn-codes.h
  183. cp-edsel.o : cp-edsel.c $(CONFIG_H) $(CPLUS_TREE_H) stack.h flags.h
  184. cp-xref.o : cp-xref.c $(CONFIG_H) $(CPLUS_TREE_H)
  185. cp-pt.o : cp-pt.c $(CONFIG_H) $(CPLUS_TREE_H) cp-decl.h cp-parse.h
  186.  
  187. # A file used by all variants of C.
  188.  
  189. c-common.o : c-common.c $(CONFIG_H) $(TREE_H) c-tree.h c-lex.h flags.h
  190.  
  191.  
  192. # Language-independent files.
  193. dumpvers: dumpvers.c
  194.  
  195. version.o: version.c
  196. obstack.o: obstack.c
  197.  
  198. tree.o : tree.c $(CONFIG_H) $(TREE_H) gvarargs.h flags.h function.h
  199. print-tree.o : print-tree.c $(CONFIG_H) $(TREE_H)
  200. stor-layout.o : stor-layout.c $(CONFIG_H) $(TREE_H) function.h
  201. fold-const.o : fold-const.c $(CONFIG_H) $(TREE_H) flags.h 
  202. toplev.o : toplev.c $(CONFIG_H) $(TREE_H) $(RTL_H) flags.h input.h \
  203.  insn-attr.h xcoffout.h
  204.  
  205. rtl.o : rtl.c $(CONFIG_H) $(RTL_H)
  206.  
  207. print-rtl.o : print-rtl.c $(CONFIG_H) $(RTL_H)
  208. rtlanal.o : rtlanal.c $(CONFIG_H) $(RTL_H)
  209.  
  210. varasm.o : varasm.c $(CONFIG_H) $(TREE_H) $(RTL_H) flags.h \
  211.    insn-codes.h expr.h hard-reg-set.h regs.h xcoffout.h
  212. function.o : function.c $(CONFIG_H) $(RTL_H) $(TREE_H) flags.h function.h  \
  213.    insn-flags.h insn-codes.h expr.h regs.h hard-reg-set.h insn-config.h \
  214.    recog.h output.h
  215. stmt.o : stmt.c $(CONFIG_H) $(RTL_H) $(TREE_H) flags.h function.h  \
  216.    insn-flags.h insn-config.h insn-codes.h hard-reg-set.h expr.h loop.h recog.h
  217. expr.o : expr.c $(CONFIG_H) $(RTL_H) $(TREE_H) gvarargs.h flags.h function.h  \
  218.    insn-flags.h insn-codes.h expr.h insn-config.h recog.h output.h typeclass.h
  219. calls.o : calls.c $(CONFIG_H) $(RTL_H) $(TREE_H) flags.h expr.h insn-codes.h \
  220.    insn-flags.h
  221. expmed.o : expmed.c $(CONFIG_H) $(RTL_H) $(TREE_H) flags.h  \
  222.    insn-flags.h insn-config.h insn-codes.h expr.h recog.h real.h
  223. explow.o : explow.c $(CONFIG_H) $(RTL_H) $(TREE_H) flags.h hard-reg-set.h \
  224.    insn-config.h expr.h recog.h insn-flags.h insn-codes.h
  225. optabs.o : optabs.c $(CONFIG_H) $(RTL_H) $(TREE_H) flags.h  \
  226.    insn-flags.h insn-config.h insn-codes.h expr.h recog.h
  227. dbxout.o : dbxout.c $(CONFIG_H) $(TREE_H) $(RTL_H) flags.h regs.h \
  228.    insn-config.h reload.h gstab.h xcoffout.h
  229. sdbout.o : sdbout.c $(CONFIG_H) $(TREE_H) $(RTL_H) gsyms.h flags.h \
  230.    insn-config.h reload.h
  231. dwarfout.o : dwarfout.c $(CONFIG_H) $(TREE_H) $(RTL_H) dwarf.h flags.h \
  232.    insn-config.h reload.h output.h
  233. xcoffout.o : xcoffout.c $(CONFIG_H) $(TREE_H) $(RTL_H) xcoffout.h flags.h
  234. emit-rtl.o : emit-rtl.c $(CONFIG_H) $(RTL_H) flags.h gvarargs.h function.h  \
  235.    regs.h insn-config.h insn-codes.h real.h expr.h
  236.  
  237. integrate.o : integrate.c $(CONFIG_H) $(RTL_H) $(TREE_H) flags.h integrate.h \
  238.    insn-flags.h insn-config.h insn-codes.h expr.h real.h function.h
  239.  
  240. jump.o : jump.c $(CONFIG_H) $(RTL_H) flags.h hard-reg-set.h regs.h \
  241.    insn-config.h insn-flags.h insn-codes.h expr.h real.h
  242. stupid.o : stupid.c $(CONFIG_H) $(RTL_H) regs.h hard-reg-set.h flags.h
  243.  
  244. cse.o : cse.c $(CONFIG_H) $(RTL_H) regs.h hard-reg-set.h flags.h real.h \
  245.    insn-config.h recog.h
  246. loop.o : loop.c $(CONFIG_H) $(RTL_H) flags.h loop.h insn-config.h \
  247.    insn-flags.h insn-codes.h regs.h hard-reg-set.h recog.h expr.h real.h
  248. unroll.o : unroll.c $(CONFIG_H) $(RTL_H) insn-config.h insn-codes.h \
  249.    integrate.h regs.h flags.h expr.h loop.h
  250. flow.o : flow.c $(CONFIG_H) $(RTL_H) flags.h insn-config.h \
  251.    basic-block.h regs.h hard-reg-set.h output.h
  252. combine.o : combine.c $(CONFIG_H) $(RTL_H) gvarargs.h flags.h  \
  253.    insn-config.h insn-flags.h insn-codes.h insn-attr.h regs.h expr.h \
  254.    basic-block.h recog.h real.h
  255. regclass.o : regclass.c $(CONFIG_H) $(RTL_H) hard-reg-set.h flags.h \
  256.    basic-block.h regs.h insn-config.h recog.h 
  257. local-alloc.o : local-alloc.c $(CONFIG_H) $(RTL_H) flags.h basic-block.h \
  258.    regs.h hard-reg-set.h insn-config.h recog.h output.h
  259. global.o : global.c $(CONFIG_H) $(RTL_H) flags.h  \
  260.    basic-block.h regs.h hard-reg-set.h insn-config.h output.h
  261.  
  262. reload.o : reload.c $(CONFIG_H) $(RTL_H) flags.h \
  263.    reload.h recog.h hard-reg-set.h insn-config.h insn-codes.h regs.h real.h
  264. reload1.o : reload1.c $(CONFIG_H) $(RTL_H) flags.h expr.h \
  265.    reload.h regs.h hard-reg-set.h insn-config.h insn-flags.h insn-codes.h \
  266.    basic-block.h recog.h output.h
  267. caller-save.o : caller-save.c $(CONFIG_H) $(RTL_H) flags.h \
  268.    regs.h hard-reg-set.h insn-config.h basic-block.h recog.h reload.h expr.h
  269. reorg.o : reorg.c $(CONFIG_H) $(RTL_H) conditions.h hard-reg-set.h \
  270.    basic-block.h regs.h insn-config.h insn-attr.h insn-flags.h recog.h \
  271.    flags.h output.h
  272. sched.o : sched.c $(CONFIG_H) $(RTL_H) basic-block.h regs.h hard-reg-set.h \
  273.    flags.h insn-config.h insn-attr.h
  274. final.o : final.c $(CONFIG_H) $(RTL_H) gvarargs.h flags.h regs.h \
  275.    recog.h conditions.h insn-config.h insn-attr.h real.h output.h \
  276.    hard-reg-set.h insn-codes.h gstab.h xcoffout.h
  277. recog.o : recog.c $(CONFIG_H) $(RTL_H)  \
  278.    regs.h recog.h hard-reg-set.h flags.h insn-config.h insn-attr.h \
  279.    insn-flags.h insn-codes.h real.h
  280. reg-stack.o : reg-stack.c $(CONFIG_H) $(RTL_H) $(TREE_H) \
  281.    regs.h hard-reg-set.h flags.h insn-config.h
  282.    
  283. aux-output.o : aux-output.c $(CONFIG_H) \
  284.    $(RTL_H) regs.h hard-reg-set.h real.h insn-config.h conditions.h \
  285.    insn-flags.h output.h insn-attr.h insn-codes.h
  286.  
  287. # Now the source files that are generated from the machine description.
  288.  
  289. .PRECIOUS: insn-config.h insn-flags.h insn-codes.h \
  290.   insn-emit.c insn-recog.c insn-extract.c insn-output.c insn-peep.c \
  291.   insn-attr.h insn-attrtab.c
  292.  
  293. insn-config.h : md genconfig
  294.     ./genconfig md > tmp-insn-config.h
  295.     ./move-if-change tmp-insn-config.h insn-config.h
  296.  
  297. insn-flags.h : md genflags
  298.     ./genflags md > tmp-insn-flags.h
  299.     ./move-if-change tmp-insn-flags.h insn-flags.h
  300.  
  301. insn-codes.h : md gencodes
  302.     ./gencodes md > tmp-insn-codes.h
  303.     ./move-if-change tmp-insn-codes.h insn-codes.h
  304.  
  305. insn-emit.o : insn-emit.c $(CONFIG_H) $(RTL_H) expr.h insn-config.h
  306.     $(CC) $(CFLAGS) -c insn-emit.c
  307.  
  308. insn-emit.c : md genemit
  309.     ./genemit md > tmp-insn-emit.c
  310.     ./move-if-change tmp-insn-emit.c insn-emit.c
  311.  
  312. insn-recog.o : insn-recog.c $(CONFIG_H) $(RTL_H) insn-config.h
  313.     $(CC) $(CFLAGS) -c insn-recog.c
  314.  
  315. insn-recog.c : md genrecog
  316.     ./genrecog md > tmp-insn-recog.c
  317.     ./move-if-change tmp-insn-recog.c insn-recog.c
  318.  
  319. insn-extract.o : insn-extract.c $(RTL_H)
  320.     $(CC) $(CFLAGS) -c insn-extract.c
  321.  
  322. insn-extract.c : md genextract
  323.     ./genextract md > tmp-insn-extract.c
  324.     ./move-if-change tmp-insn-extract.c insn-extract.c
  325.  
  326. insn-peep.o : insn-peep.c $(CONFIG_H) $(RTL_H) regs.h
  327.     $(CC) $(CFLAGS) -c insn-peep.c
  328.  
  329. insn-peep.c : md genpeep
  330.     ./genpeep md > tmp-insn-peep.c
  331.     ./move-if-change tmp-insn-peep.c insn-peep.c
  332.  
  333. insn-output.o : insn-output.c $(CONFIG_H) $(RTL_H) regs.h insn-config.h insn-flags.h conditions.h output.h aux-output.c
  334.     $(CC) $(CFLAGS) -c insn-output.c
  335.  
  336. insn-output.c : md genoutput
  337.     ./genoutput md > tmp-insn-output.c
  338.     ./move-if-change tmp-insn-output.c insn-output.c
  339.  
  340. insn-attrtab.o : insn-attrtab.c $(CONFIG_H) $(RTL_H) regs.h real.h output.h \
  341.      insn-attr.h insn-config.h
  342.     $(CC) $(CFLAGS) -c insn-attrtab.c
  343.  
  344. insn-attr.h: md genattr
  345.     ./genattr md > tmp-attr.h
  346.     ./move-if-change tmp-attr.h insn-attr.h
  347.  
  348. insn-attrtab.c: md genattrtab
  349.     ./genattrtab md > tmp-attrtab.c
  350.     ./move-if-change tmp-attrtab.c insn-attrtab.c
  351.  
  352.  
  353. # Now the programs that generate those files.
  354.  
  355. genconfig : genconfig.oo rtl.oo $(LIBDEPS1)
  356.     $(HOSTCC) $(HOSTCFLAGS) $(HOSTLDFLAGS) -o genconfig genconfig.oo rtl.oo $(LIBS1)
  357.  
  358. genconfig.oo : genconfig.c $(RTL_H)
  359.     $(HOSTCC) $(HOSTCFLAGS) -c genconfig.c -o genconfig.oo
  360.  
  361. genflags : genflags.oo rtl.oo $(LIBDEPS1)
  362.     $(HOSTCC) $(HOSTCFLAGS) $(HOSTLDFLAGS) -o genflags genflags.oo rtl.oo $(LIBS1)
  363.  
  364. genflags.oo : genflags.c $(RTL_H)
  365.     $(HOSTCC) $(HOSTCFLAGS) -c genflags.c -o genflags.oo
  366.  
  367. gencodes : gencodes.oo rtl.oo $(LIBDEPS1)
  368.     $(HOSTCC) $(HOSTCFLAGS) $(HOSTLDFLAGS) -o gencodes gencodes.oo rtl.oo $(LIBS1)
  369.  
  370. gencodes.oo : gencodes.c $(RTL_H)
  371.     $(HOSTCC) $(HOSTCFLAGS) -c gencodes.c -o gencodes.oo
  372.  
  373. genemit : genemit.oo rtl.oo $(LIBDEPS1)
  374.     $(HOSTCC) $(HOSTCFLAGS) $(HOSTLDFLAGS) -o genemit genemit.oo rtl.oo $(LIBS1)
  375.  
  376. genemit.oo : genemit.c $(RTL_H)
  377.     $(HOSTCC) $(HOSTCFLAGS) -c genemit.c -o genemit.oo
  378.  
  379. genrecog : genrecog.oo rtl.oo $(LIBDEPS1)
  380.     $(HOSTCC) $(HOSTCFLAGS) $(HOSTLDFLAGS) -o genrecog genrecog.oo rtl.oo $(LIBS1)
  381.  
  382. genrecog.oo : genrecog.c $(RTL_H)
  383.     $(HOSTCC) $(HOSTCFLAGS) -c genrecog.c -o genrecog.oo
  384.  
  385. genextract : genextract.oo rtl.oo $(LIBDEPS1)
  386.     $(HOSTCC) $(HOSTCFLAGS) $(HOSTLDFLAGS) -o genextract genextract.oo rtl.oo $(LIBS1)
  387.  
  388. genextract.oo : genextract.c $(RTL_H)
  389.     $(HOSTCC) $(HOSTCFLAGS) -c genextract.c -o genextract.oo
  390.  
  391. genpeep : genpeep.oo rtl.oo $(LIBDEPS1)
  392.     $(HOSTCC) $(HOSTCFLAGS) $(HOSTLDFLAGS) -o genpeep genpeep.oo rtl.oo $(LIBS1)
  393.  
  394. genpeep.oo : genpeep.c $(RTL_H)
  395.     $(HOSTCC) $(HOSTCFLAGS) -c genpeep.c -o genpeep.oo
  396.  
  397. genoutput : genoutput.oo rtl.oo $(LIBDEPS1)
  398.     $(HOSTCC) $(HOSTCFLAGS) $(HOSTLDFLAGS) -o genoutput genoutput.oo rtl.oo $(LIBS1)
  399.  
  400. genoutput.oo : genoutput.c $(RTL_H)
  401.     $(HOSTCC) $(HOSTCFLAGS) -c genoutput.c -o genoutput.oo
  402.  
  403. genattr : genattr.oo rtl.oo $(LIBDEPS1)
  404.     $(HOSTCC) $(HOSTCFLAGS) $(HOSTLDFLAGS) -o genattr \
  405.      genattr.oo rtl.oo $(LIBS1)
  406.  
  407. genattr.oo : genattr.c $(RTL_H) config.h
  408.     $(HOSTCC) -c $(HOSTCFLAGS) genattr.c -o genattr.oo
  409.  
  410. genattrtab : genattrtab.oo rtl.oo rtlanal.oo $(LIBDEPS1)
  411.     $(HOSTCC) $(HOSTCFLAGS) $(HOSTLDFLAGS) -o genattrtab \
  412.      genattrtab.oo rtl.oo rtlanal.oo $(LIBS1)
  413.  
  414. genattrtab.oo : genattrtab.c $(RTL_H) config.h insn-config.h
  415.     $(HOSTCC) -c $(HOSTCFLAGS) genattrtab.c -o genattrtab.oo
  416.  
  417. rtl.oo : rtl.c $(CONFIG_H) $(RTL_H)
  418.     $(HOSTCC) $(HOSTCFLAGS) -c rtl.c -o rtl.oo
  419.  
  420. rtlanal.oo : rtlanal.c $(CONFIG_H) $(RTL_H)
  421.     $(HOSTCC) $(HOSTCFLAGS) -c rtlanal.c -o rtlanal.oo
  422.  
  423. obstack.oo : obstack.c
  424.     $(HOSTCC) $(HOSTCFLAGS) -c obstack.c -o obstack.oo
  425.  
  426. # gnulib is not deleted because deleting it would be inconvenient
  427. # for most uses of this target.
  428. clean:
  429.     -rm -f *.o *.oo $(STAGESTUFF)
  430.     -rm -f *.s *.s[0-9] *.co *.greg *.lreg *.combine *.flow *.cse *.jump *.rtl *.tree *.loop
  431.  
  432. # Get rid of every file that's generated from some other file (except INSTALL).
  433. realclean: clean
  434.     -rm -f $(ALL)
  435.     -rm -f cpp.aux cpp.cps cpp.fns cpp.info cpp.kys cpp.pgs cpp.tps cpp.vrs
  436.     -rm -f errs gnulib TAGS 
  437.     -rm -f core report
  438.     -rm -f internals internals-* internals.?? internals.??s
  439.  
  440. # Copy the files into directories where they will be run.
  441. #install: all
  442. #    install cc1 $(libdir)/gcc-cc1
  443. #    install cpp $(libdir)/gcc-cpp
  444. #    install gcc $(bindir)
  445.  
  446. force:
  447.  
  448. #In GNU Make, ignore whether `stage*' exists.
  449. .PHONY: clean realclean
  450.